
import request from '@/http'

// 一起一档的 分页列表查询
export const getCompany = async (data: object) => {
  return await request.post({
    url: '/api/bizz/tCompanyArchivesInfo/page',
    data: data,
  })
}

// 获取存在隐患的企业(根据市州分组)
export const getTCompanyArchivesInfoHasHidTrbGroup = async (data: object) => {
  return await request.post({
    url: '/api/bizz/tCompanyArchivesInfo/getTCompanyArchivesInfoHasHidTrbGroup',
    data: data,
    cancel: true,
  })
}